package com.locohamster.base;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;



public class MySQLiteHelper  extends android.database.sqlite.SQLiteOpenHelper {
	private static final String DATABASE_NAME = "applicationdata.db";
	private static final int DATABASE_VERSION = 1;
	private static final String DATABASE_CREATE = "create table comments " +
	"(_id integer primary key autoincrement, "
	+ "comment text not null);";
	public MySQLiteHelper(Context context) {
		super(context, DATABASE_NAME, null, DATABASE_VERSION);
	}


	@Override
	public void onCreate(SQLiteDatabase database) {
		database.execSQL(DATABASE_CREATE);
	}


	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		// Not implemented
	}

}
